﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    public enum Styolenpc
    {
        任务NPC,
        商贩NPC,
        铁匠NPC
    }
    abstract class FatherNPC
    {
        private string name;
        private Styolenpc npcstyple;

        
        public string Name {
            get { return this.name; }
            set { this.name=value;}
        }
        public Styolenpc Npcstyle {
            get { return this.Npcstyle; }
            set { this.Npcstyle = value; }
        }

        public  FatherNPC() 
        { }
        public  FatherNPC(string name, Styolenpc npcstyple)
        {
            this.name = name;
            this.npcstyple = npcstyple;
        }

        public abstract void speaking();
    }
}
